-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix:
TransactionRecordQuery
should allow node precheck code of 0 fi…
…nish the query if we're getting cost
- Loading branch information
1 parent
9aef38a
commit 53f7874
Showing
4 changed files
with
26 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,29 +7,10 @@ import ( | |
|
||
func TestTransactionID_Execute(t *testing.T) { | ||
txID := TransactionIDGenerate(AccountID{0, 0, 3}) | ||
|
||
txID = txID.SetScheduled(true) | ||
|
||
println(txID.String()) | ||
|
||
txID2 := TransactionIDWithNonce([]byte("bam")) | ||
|
||
txID2 = txID2.SetScheduled(true) | ||
|
||
txID2.AccountID = &AccountID{0, 0, 3} | ||
|
||
println(txID2.String()) | ||
|
||
} | ||
|
||
func TestTransactionIDFromString_Execute(t *testing.T) { | ||
txID, err := TransactionIdFromString("[email protected]?scheduled") | ||
_, err := TransactionIdFromString("[email protected]?scheduled") | ||
assert.NoError(t, err) | ||
|
||
println(txID.String()) | ||
|
||
txID2, err := TransactionIdFromString("62616d?scheduled") | ||
assert.NoError(t, err) | ||
|
||
println(txID2.String()) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters