[#137] nns: remove unused function
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
e136e63be2
commit
555d4b8c04
1 changed files with 0 additions and 7 deletions
|
@ -637,13 +637,6 @@ func getIdRecordKey(tokenId []byte, name string, typ RecordType, id byte) []byte
|
|||
return append(recordKey, byte(typ), id)
|
||||
}
|
||||
|
||||
// addUniqueBytesToRecordKey add to key 4 unique bytes to allow store several records with the same type.
|
||||
func addUniqueBytesToRecordKey(recordKey []byte) []byte {
|
||||
tx := runtime.GetScriptContainer()
|
||||
bb := []byte(tx.Hash)
|
||||
return append(recordKey, bb[:4]...)
|
||||
}
|
||||
|
||||
// isValid returns true if the provided address is a valid Uint160.
|
||||
func isValid(address interop.Hash160) bool {
|
||||
return address != nil && len(address) == 20
|
||||
|
|
Loading…
Reference in a new issue