File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
xcoin-blockchain/src/test/scala/xcoin/blockchain/internal/tron Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import org.springframework.boot.test.mock.mockito.MockBean
12
12
import org .tron .trident .api .GrpcAPI .AccountAddressMessage
13
13
import org .tron .trident .api .ReactorWalletGrpc .ReactorWalletStub
14
14
import org .tron .trident .proto .Chain .Transaction .Contract .ContractType
15
+ import org .tron .trident .proto .Common .AccountType
15
16
import org .tron .trident .proto .Response
16
17
import reactor .core .publisher .Mono
17
18
import reactor .test .StepVerifier
@@ -43,6 +44,7 @@ class TNCAccountSupportTest {
43
44
44
45
val account = tronNodeClient.accountGet(" TSKnicj3bfk7M7KTjtecHXLz2jvdveFtqq" ).block()
45
46
Assertions .assertTrue(account.activePermission.length > 0 )
47
+ Assertions .assertEquals(AccountType .Normal ,account.`type`)
46
48
47
49
StepVerifier
48
50
.create(account.canDelegateBandwidth())
You can’t perform that action at this time.
0 commit comments