完善数据上报,每日支付任务认证
This commit is contained in:
17
internal/pkg/aptos/aptos_test.go
Normal file
17
internal/pkg/aptos/aptos_test.go
Normal file
@@ -0,0 +1,17 @@
|
||||
package aptos
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/stretchr/testify/require"
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestGetTransactionOwnerAddress(t *testing.T) {
|
||||
addr, err := GetTransactionOwnerAddress("0x5a0ad9e31a2f452504429b6f7073cb325994c2c66204f5deb8e0561a9e950c3c::TeviStar", "0xaa42ec3ca61f398e52ed05fe12daee7df768468e77079184665846a1a1891217", "")
|
||||
require.Nil(t, err)
|
||||
fmt.Println(addr)
|
||||
}
|
||||
|
||||
func TestStrPadAptosAddress(t *testing.T) {
|
||||
fmt.Println(StrPadAptosAddress("0x69d09434572ff312fcd4dc805318c29acf8e5daa2938cd38e674b7eb446063"))
|
||||
}
|
||||
Reference in New Issue
Block a user