Exemplo n.º 1
0
        public Rep <Transaction.Transaction> GetTransaction32(string hash)
        {
            Rep <Transaction.Transaction> rep = GetTransaction(hash);

            rep.Result.ToAddr = Bech32.ToBech32Address(rep.Result.ToAddr);
            return(rep);
        }
Exemplo n.º 2
0
        public void ToBech32AddressTest()
        {
            string bech32 = Bech32.ToBech32Address("0x9bfec715a6bd658fcb62b0f8cc9bfa2ade71434a");

            Assert.AreEqual(bech32.ToLower(), "zil1n0lvw9dxh4jcljmzkruvexl69t08zs62ds9ats");
        }