spec/bitcoin/wallet/keystore_spec.rb in bitcoin-ruby-0.0.5 vs spec/bitcoin/wallet/keystore_spec.rb in bitcoin-ruby-0.0.6
- old
+ new
@@ -171,20 +171,20 @@
key.priv.should == 'da53dec9916406bb9a412bfdc81a3892bbcb1560ab394cb9b9fc3ee2a41101ff'
@ks.keys.last.should == key
end
it "should get key" do
- @ks.key('1KDUUSjPJkKwVEJsfpxEzBAf7iEbmqUwUu').priv.should ==
+ @ks.key('1GKjKQemNRhxL1ChTRFJNLZCXeCDxut2d7').priv.should ==
'7f27bb0ca02e558c4b4b4e267417437adac01403e0d0bb9b07797d1dbb1adfd1'
end
it "should get keys" do
@ks.keys.map(&:priv).should ==
['7f27bb0ca02e558c4b4b4e267417437adac01403e0d0bb9b07797d1dbb1adfd1']
end
it "should export key" do
- @ks.export('1KDUUSjPJkKwVEJsfpxEzBAf7iEbmqUwUu').should ==
- '5JnHbCHicVj2Wgd2KgNPU7dQ6te55GzHjc4PH9cQDFUjeepYSHX'
+ @ks.export('1GKjKQemNRhxL1ChTRFJNLZCXeCDxut2d7').should ==
+ 'L1UtDvpnffnVg1szqSmQAgFexzvcysZrs3jwLH1FT4uREpZqcXaR'
end
end